package com.tangyuan.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: user_balance
 * @Author: jeecg-boot
 * @Date:   2024-03-12
 * @Version: V1.0
 */
@Data
@TableName("user_balance")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class UserBalanceVo implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
    private Long id;
	/**用户id*/
    private Long userId;
	/**类型 1-充值 2-付款 3-退款 4-体现*/
    private Integer type;
	/**变更金额*/
    private BigDecimal upBalance;
	/**变更后余额*/
    private BigDecimal balance;
	/**createTime*/
    private Date createTime;

}
